---
title: "Stop Task"
openapi: "PUT /task/{taskId}/stop"
description: "Stop a task from running future executions"
---

<RequestExample>
```bash
curl --request PUT \
  --url 'http://localhost:2003/api/v1/task/task_123/stop' \
  --header 'x-api-key: <your-api-key>'
```
</RequestExample>

<ResponseExample>
```json
{
  "success": true
}
```
</ResponseExample> 